/*
 * FileNameRecord.java
 *
 * Created on December 16, 2005, 2:52 PM
 *
 */

package biofilter.records;

/**
 * Container for filename.
 *
 * @author yan, tom, rox
 */

public class FileNameRecord implements Record {
    private String fileName = null;
    
    /** 
	 * Creates a new instance of FileNameRecord
	 */
    public FileNameRecord() {
    }
    
    /** Creates a new instance of FileNameRecord 
     * @param fileName The filename that this record encapsulates.
     */
    public FileNameRecord( String fileName ) {
        this.set( fileName);
    }
    
    /**
     * Return the filename
     * @return String - the fileName
     */
    public String get() {
        return this.fileName;
    }
    
    /**
     * To set the file name contained in this object
     * @param fileName The file name that this object encapsulates.
     */
    public void set( String fileName ) {        
        this.fileName = fileName;
    }
}
